package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author TianYaGuoKe
 * @date 2025/5/24 23:49
 * @description IsRead
 */
public enum IsRead {
    UNREAD(0,"未读"),
    READ(1,"已读");
    @EnumValue
    private Integer code;
    private String msg;

    IsRead(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
